const mongoose = require("mongoose");

mongoose.connect("mongodb://localhost/aichongbang", {
    useNewUrlParser: true
});

module.exports = {
    User: require("./User"), //用户
    Supplier: require("./Supplier"),  //供货商
    Goods: require("./Goods"), //商品
    Evaluation: require("./Evaluation"), //评价
    Petowners: require("./Petowners"), //宠主
    Service: require("./Service"), //服务
    Stores: require("./Stores"), //门店
    Suppliergoods: require("./Supplier_goods"),  //供货商商品
    Order: require("./order"),  //订单
    Shopping: require("./shopping"),      //购物车
    ObjectId: mongoose.Types.ObjectId

}